package ShuZu;

public class Demo2 {
    public static void main(String[] args) {
        //静态初始化 创建加赋值
        int [] a = {1,2,3,4,5,6,7};
        System.out.println(a[1]);
        //动态初始化
        int b[]=new int[10];
        b[0]=1;
        System.out.println(b[0]);
    }
}
